<%-- 
    Document   : buscarTDocumTram
    Created on : 14/08/2009, 06:49:14 PM
    Author     : ChristianATE
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<link href="/general/css/admin_1.css" rel="stylesheet" type="text/css"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<t:div>
    <h:panelGrid columns="1" styleClass="fondo012" width="100%">
        <h:outputLabel  value="Tipo Documento" />
    </h:panelGrid>

    <rich:listShuttle id="lstProc" sourceValue="#{tramiteController.tipoDocumentos}" sourceCaptionLabel="Documentos"
                      targetValue="#{tramiteController.tipoDocumentosAgregados}" var="item" removeAllControlLabel="Ninguno"
                      targetCaptionLabel="Documentos Agregados" copyAllControlLabel="Todos" copyControlLabel="Agregar"
                      orderControlsVisible="false" fastOrderControlsVisible="false" removeControlLabel="Quitar"
                      sourceListWidth="150px" targetListWidth="150px" >
        <rich:column width="145px">
            <f:facet name="header"><h:outputLabel value="DESCRIPCION"/></f:facet>
            <h:outputText value="#{item.tdoDesc}"></h:outputText>
        </rich:column>
    </rich:listShuttle>
    <div class="navPanel" style="width:100%;">
        <h:commandButton style="float:left" action="back" value="<< Costo" rendered="#{tramiteController.costo}"/>
        <h:commandButton style="float:right" action="#{tramiteController.buscarProc}" value="Procedimiento >>"/>
    </div>
</t:div>

